QT       += core gui sql

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++11

# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
    view/AddDialog.cpp \
    view/BookFileDialog.cpp \
    view/BookOpDialog.cpp \
    view/HelpDialog.cpp \
    view/LogginDialog.cpp \
    view/MainWindow.cpp \
    tools/SQLHelper.cpp \
    model/User.cpp \
    main.cpp \
    view/MemberDialog.cpp \
    view/SubscribedDialog.cpp \
    view/UserDialog.cpp

HEADERS += \
    view/AddDialog.h \
    view/BookFileDialog.h \
    view/BookOpDialog.h \
    view/HelpDialog.h \
    view/LogginDialog.h \
    view/MainWindow.h \
    tools/SQLHelper.h \
    tools/SystemHelper.h \
    model/User.h \
    view/MemberDialog.h \
    view/SubscribedDialog.h \
    view/UserDialog.h

FORMS +=

INCLUDEPATH += view/
INCLUDEPATH += tools/
INCLUDEPATH += model/

#CONFIG += console

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target
